package cn.legend.travel.tour.team.dao.persist.mapper;

import cn.legend.travel.tour.team.pojo.entity.Tour;
import cn.legend.travel.tour.team.pojo.po.TourDetailPO;
import cn.legend.travel.tour.team.pojo.po.TourPO;
import cn.legend.travel.tour.team.pojo.po.TourSearchPO;
import cn.legend.travel.tour.team.pojo.vo.TourHotVO;
import cn.legend.travel.tour.team.pojo.vo.TourVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TourMapper extends BaseMapper<Tour> {

    List<TourPO> listForGeneral();

    List<TourPO> listForSaleCount();

    List<TourPO> listForPriceASC();

    List<TourPO> listForPriceDesc();

    List<TourHotVO> listForHotItem(Integer pageSize);

    List<TourSearchPO> listSearch();

    TourDetailPO getItemByGuideId(Long guideId);

}
